package com.chia.multienty.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chia.multienty.core.domain.dto.WorkflowProcessDTO;
import com.chia.multienty.core.mybatis.service.KutaBaseService;
import com.chia.multienty.core.parameter.workflow.*;
import com.chia.multienty.core.pojo.WorkflowProcess;

/**
 * <p>
 * 流程 服务类
 * </p>
 *
 * @author Multienty Auto Generator
 * @since 2024-05-14
 */
public interface WorkflowProcessService extends KutaBaseService<WorkflowProcess> {

    WorkflowProcessDTO getDetail(WorkflowProcessDetailGetParameter parameter);

    void updateXml(WorkflowProcessXmlUpdateParameter parameter);

    void deploy(WorkflowProcessDeployParameter parameter);

    void redeploy(WorkflowProcessRedeployParameter parameter);

    void delete(WorkflowProcessDeleteParameter parameter);

    IPage<WorkflowProcessDTO> getPage(WorkflowProcessPageGetParameter parameter);
    void enable(WorkflowProcessEnableParameter parameter);

    void disable(WorkflowProcessDisableParameter parameter);

    void save(WorkflowProcessSaveParameter parameter);

    void update(WorkflowProcessUpdateParameter parameter);

}
